各位老师
我想把服务器代码变成多线程,但因为有参数,不知道怎么弄,请帮忙!我的代码如下:
Dim sb As New StringBuilder
sb.AppendLine("<!doctype html>")
sb.AppendLine("<html>")
sb.appendLine("<head>")
sb.AppendLine("<meta charset='gb2312'>")
sb.AppendLine("<meta name='viewport' c>")
sb.appendLine("</head>")
sb.AppendLine("<body>")
Dim wb As New weui
e.Resp
Dim zd As String = e.path
Dim dw As Integer = zd.IndexOf(".")
zd = zd.SubString(0,dw)
If zd > "" Then
Dim qd As String = Functions.Execute("checkname",zd)
If qd = 1 Then
Functions.Execute(zd,e)
Else
e.WriteString("正在建设中,请期待!")
End If
End If
sb.AppendLine("</body>")
sb.AppendLine("</html>")
运行暂时没有问题,但我想试试变成多线程会不会更好,但因为有参数,不知道怎么变,请老师指教!多谢!